package com.hkts.management.cargoViewRecord.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.management.cargoViewRecord.entity.HktsCargoviewRecord;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-04-28
 */
public interface ICargoViewRecordService extends IService<HktsCargoviewRecord> {

    /**
     * 分页查询
     *
     * @param page
     * @param cargoViewRecord
     * @return
     */
    IPage<HktsCargoviewRecord> selectPage(Page<HktsCargoviewRecord> page, HktsCargoviewRecord cargoViewRecord);

    List<HktsCargoviewRecord> selectList(HktsCargoviewRecord cargoViewRecord);

    int getViewRecordCount(String cargoId);
    int addcargoViewRecord(HktsCargoviewRecord cargoViewRecord);
}